<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        button {
            border:none;
        }
        .search {
            float: left;
            background-color: pink;
        }
        .search input {
            width: 360px;
            height: 40px;
            padding-left: 20px;
            border:1px solid #44a4ff;

        }
        .search button {
            position: absolute;
            width: 50px;
            height: 42px;
            background-color: #E06666;
        }
    </style>
</head>
<body>
<div class="search">
    <input type="text">
    <button></button>
</div>
</body>
</html>